package com.hoapital.outpbillwork.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoapital.outpbillwork.module.entity.PatientInfo;
import com.hoapital.outpbillwork.module.mapper.PatientInfoMapper;
import com.hoapital.outpbillwork.module.service.PatientInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author lvyao
 * @description 患者查询实现类
 * @date 2020/7/1
 */
@Service
public class PatientInfoServiceImpl extends ServiceImpl<PatientInfoMapper, PatientInfo> implements PatientInfoService {

    @Resource
    private PatientInfoMapper patientInfoMapper;

    @Override
    public String getPatientId() {
        return patientInfoMapper.getPatientId();
    }

    @Override
    public List<PatientInfo> selectPatientInfoByIdNo(String idNo) {
        return patientInfoMapper.selectPatientInfoByIdNo(idNo);
    }

    @Override
    public List<String> seLectPatientName(String cardId) {
        return patientInfoMapper.seLectPatientName(cardId);
    }

    @Override
    public List<String> selectPatientIdno(String cardId) {
        return patientInfoMapper.selectPatientIdno(cardId);
    }

    @Override
    public String getEchEffectSoft() {
        return patientInfoMapper.getEchEffectSoft();
    }

    @Override
    public String getAccessTokenUrl() {
        return patientInfoMapper.getAccessTokenUrl();
    }

    @Override
    public String getHealthIdInfoUrl() {
        return patientInfoMapper.getHealthIdInfoUrl();
    }

}
